<include file="Public:header_inc" />
<body>
	<script type="text/javascript"
		src="{{$Think.config.siteJsPath}}/admin/role.js"></script>
	<div class="subnav">
		<div class="content-menu ib-a blue line-x">

			<a href='/role/'><em>角色管理</em></a><span>|</span><a
				href='javascript:;' class="on"><em>编辑角色</em></a>
		</div>
	</div>
	<div class="pad_10">
		<div class="common-form">
			<form name="myform" action="/role/edit/" method="post"
				onsubmit="return form_submit()" id="myform">
				<table width="100%" class="table_form contentWrap">
					<tr>
						<td>角色名称</td>

						<td><input type="text" name="rolename"
							value="{{$RoleInfo.rolename}}" class="input-text" id="rolename"></input></td>
					</tr>
					<tr>
						<td>角色描述</td>
						<td><textarea name="description" rows="2" cols="20"
								id="description" class="inputtext"
								style="height: 100px; width: 500px;">{{$RoleInfo.description}}</textarea></td>
					</tr>
					<tr>
						<td>是否启用</td>
						<td><input type="radio" name="disabled"
						<if condition="$RoleInfo.disabled eq 0">checked</if> value="0"> 启用
							<input type="radio" name="disabled"
						<if condition="$RoleInfo.disabled eq 1">checked</if> value="1">禁止</td>
					</tr>
					<tr>
						<td>排序</td>
						<td><input type="text" name="listorder" size="3"
							value="{{$RoleInfo.listorder}}" class="input-text"></td>
					</tr>
				</table>

				<div class="bk15"></div>
				<input name="roleid" type="hidden" value="{{$RoleInfo.roleid}}">
				<input name="dosubmit" type="submit" value="提交" class="button">
			</form>
		</div>
	</div>
</body>
<include file="Public:footer" />